
export const tableOption = {
    // highlightCurrentRow: true,
    // selection: true,
    border: true,
    index: true,
    indexLabel: '序号',
    dialogClickModal: false,
    stripe: false,
    menu:true,
    menuAlign: 'center',
    menuWidth: 200,
    align: 'center',
    refreshBtn: true,
    // searchMenuSpan: 8,
    showClomnuBtn: false,
    searchSize: 'mini',
    addBtn: false,
    editBtn: false,
    delBtn:false,
    viewBtn: true,
    show: false,
    props: {
        label: 'label',
        value: 'value'
    },
    column: [ {
        label: '名称',
        search: true,
        searchSpan: 8,
        searchLabelWidth: 130,
        prop: 'name'
    }, {
        label: 'IP',
        search: true,
        searchSpan: 8,
        searchLabelWidth: 130,
        prop: 'ip'
    }, {
        label: '端口',
        prop: 'port'
    }, {
        label: '账号',
        prop: 'account'
    },{
        width: 150,
        label: '创建时间',
        prop: 'operateTime',
        type: 'daterange',
        search: true,
        searchSpan: 8,
        searchLabelWidth: 130,
        searchRange: true,
        viewDisplay:false,
        format: 'yyyy-MM-dd HH:mm:ss',
        valueFormat: 'yyyy-MM-dd HH:mm:ss'
    }
    ]
}
